package com.tlxch.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class SStudent {
    private Integer sId;

    private String sSid;

    private String sPassword;

    private String sName;

    private String sSpecialized;

    private Integer sGrade;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date sBirthday;

    private String sEmail;

    private String sPhone;

    private String sAddress;

    private String sPname;

    private BigDecimal sMgrades;

    private Integer sClass;

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public String getsSid() {
        return sSid;
    }

    public void setsSid(String sSid) {
        this.sSid = sSid == null ? null : sSid.trim();
    }

    public String getsPassword() {
        return sPassword;
    }

    public void setsPassword(String sPassword) {
        this.sPassword = sPassword == null ? null : sPassword.trim();
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName == null ? null : sName.trim();
    }

    public String getsSpecialized() {
        return sSpecialized;
    }

    public void setsSpecialized(String sSpecialized) {
        this.sSpecialized = sSpecialized == null ? null : sSpecialized.trim();
    }

    public Integer getsGrade() {
        return sGrade;
    }

    public void setsGrade(Integer sGrade) {
        this.sGrade = sGrade;
    }

    public Date getsBirthday() {
        return sBirthday;
    }

    public void setsBirthday(Date sBirthday) {
        this.sBirthday = sBirthday;
    }

    public String getsEmail() {
        return sEmail;
    }

    public void setsEmail(String sEmail) {
        this.sEmail = sEmail == null ? null : sEmail.trim();
    }

    public String getsPhone() {
        return sPhone;
    }

    public void setsPhone(String sPhone) {
        this.sPhone = sPhone == null ? null : sPhone.trim();
    }

    public String getsAddress() {
        return sAddress;
    }

    public void setsAddress(String sAddress) {
        this.sAddress = sAddress == null ? null : sAddress.trim();
    }

    public String getsPname() {
        return sPname;
    }

    public void setsPname(String sPname) {
        this.sPname = sPname == null ? null : sPname.trim();
    }

    public BigDecimal getsMgrades() {
        return sMgrades;
    }

    public void setsMgrades(BigDecimal sMgrades) {
        this.sMgrades = sMgrades;
    }

    public Integer getsClass() {
        return sClass;
    }

    public void setsClass(Integer sClass) {
        this.sClass = sClass;
    }
}